import request from '@/utils/request';
//查询列表
export async function queryFlightTable(params) {
  return request('/dp/sys/getFlightInfoListPage', {
    method: 'get',
    params
  });
}

// 获取下拉库数据，到达航站和出发航站的
export async function queryCityInfo(params) {
  return request('/dp/sys/getSelectCityInfo', {
    method: 'get',
    params,
  })
}

//查询航班旅客
export async function getFlightPaxInfo(params) {
  return request('/dp/sys/getFlightPaxInfo', {
    method: 'get',
    params
  });
}

//保存补偿单
export async function saveOrderInfo(data) {
  return request('/dp/sys/saveOrderInfo', {
    method: 'post',
    data
  });
}

// 获取补偿次数表格数据
export async function getCompensationCount(params) {
  return request('/dp/sys/getPaxOrderInfo', {
    method: 'get',
    params,
  })
}
